דין סוכת גנב"ך ורקב"ש. ובו סעיף אחד:
סוכה אע"פ שלא נעשית לשם מצוה כשרה והוא שתהיה עשויה לצל כגון סוכת עכו"ם נשים בהמה כותיים רועים קייצים בורגנין שומרי שדות אבל סוכה שנעשית מאליה פסולה לפי שלא נעשית לצל לפיכך החוטט בגדיש ועשהו סוכה אינה סוכה שהרי לא עומד גדיש זה לצל (ומה שעושה אח"כ הוי תעשה ולא מן העשוי) (טור) לפיכך אם עשה בתחלה כשנתן שם הגדיש חלל טפח במשך שבעה לשם סוכה וחטט בו אח"כ והשלימה לעשרה כשרה שהרי נעשית סכך שלה לצל ואם הגדיש גדול ולא הניח אלא חלל טפח במשך ז' ושוב חקק בה הרבה ועשה בה סוכה גדולה אינה כשרה כולה ע"י משך שבעה שהניח תחלה ואם חקק משני צדדים ד"א יותר על השבעה אף השבעה פסולה דסכך פסול פוסל מן הצד בד' אמות: הגה ואין לעשות הסכך קודם שיעשה הדפנות ואם עשה טפח סמוך לסכך מותר לסכך קודם שיעשה שאר הדפנות כמו בחוטט בגדיש: (הגהות מיימוני פ"ה) : 1. A sukkah is valid even if it was not constructed specifically for the mitzvah. For example, the sukkah was built for shade, like those of the non-Jews, women, animals, Samaritans, Shephards, etc. However, a sukkah that was made of its own accord is invalid because it was not made for shade. Therefore, if someone hollows out a stack of grain and makes it into a sukkah it is not a sukkah, because this grain pile was not erected for shade (and what was done afterwards is 'made but not from something made') (Tur). Accordingly, were one to create a space one handbreadth [high] and seven [handbreadths] in area for the purpose of a sukkah, and afterwards hollow it out till it reached ten [handbreadths], it is kosher, since its s'chach was placed for the purpose of shade. If someone makes a big space and doesn't stop until the hole is one handbreadth [high] and seven [handbreadths] and then he digs out a lot and makes a big sukkah there, it is not valid at all. This is because he withdraws seven and doesn't stop from the beginning. If he digs from the two sides to increase the seven, even the seven is invalid as invalid s'chach invalidates from the side within four amot. RAMA: One may not put on the s'chach before finishing the walls. But if he made one tefach and covered it with s'chach it is permitted to put s'chach on it before he makes the other walls, like a situation where one creates a space as above. (Hagahos Maimoni)